package com.cd.hospital.modules.service.impl;

import com.cd.hospital.modules.dao.ExpertVideoDao;
import com.cd.hospital.modules.entity.ExpertVideoEntity;
import com.cd.hospital.modules.service.ExpertVideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service("expertVideoService")
public class ExpertVideoServiceImpl implements ExpertVideoService {
	@Autowired
	private ExpertVideoDao expertVideoDao;
	
	@Override
	public ExpertVideoEntity queryObject(Integer id){
		return expertVideoDao.queryObject(id);
	}
	
	@Override
	public List<ExpertVideoEntity> queryList(Map<String, Object> map){
		return expertVideoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return expertVideoDao.queryTotal(map);
	}
	
	@Override
	public void save(ExpertVideoEntity expertVideo){
		expertVideoDao.save(expertVideo);
	}
	
	@Override
	public void update(ExpertVideoEntity expertVideo){
		expertVideoDao.update(expertVideo);
	}
	
	@Override
	public void delete(Integer id){
		expertVideoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		expertVideoDao.deleteBatch(ids);
	}
	
}
